@echo off
set PWD=%~dp0
cd /d %PWD%

@REM set SRC_EXE_PATH=build\Desktop_Qt_5_15_19_MSVC2019_64bit-Release\release\TlvTool.exe
@REM @REM set SRC_EXE_PATH=..\build-TlvTool-Desktop_Qt_5_14_2_MSVC2017_64bit-Release\release\TlvTool.exe
@REM set DEST_DIR=dist\TlvTool

@REM if not exist %DEST_DIR% (
@REM     mkdir %DEST_DIR%
@REM )

@REM copy %SRC_EXE_PATH% %DEST_DIR%
@REM copy lib\Qsci\qscintilla2_qt5.dll %DEST_DIR%
@REM copy lib\Qt\*.* %DEST_DIR%
@REM xcopy tools %DEST_DIR%\tools  /E /H /C /I /Q /Y

@REM echo Release build copied to %DEST_DIR%

@REM cd %DEST_DIR%

@REM windeployqt  TlvTool.exe --no-compiler-runtime --no-angle --no-opengl-sw

@REM cd /d %PWD%

@REM pause


python release.py

pause
